﻿using System;
using SqlSugar;

namespace Work3.Models {
    [SugarTable("newUserMsg")]
    public class UserMsg {
        [SugarColumn(ColumnName = "username", IsIdentity = true)]
        public String Username { get; set; }
        [SugarColumn(ColumnName = "password", IsIdentity = true)]
        public string Password { get; set; }

        [SugarColumn(ColumnName = "id")]
        public int Id { get; set; }
        
        [SugarColumn(ColumnName = "department")]
        public string Department { get; set; }
    }
}